package com.code.day09;

public  class OldPhone {
    private String brand;
    private int price;

    public void show(){
        System.out.println("显示手机号");
    };

    public  void call(String name){
        System.out.println("正在给"+name+"打电话");
    };
    public  void sendMessage(){
        System.out.println("发送短信");
    };

    public OldPhone(String brand, int price) {
        this.brand = brand;
        this.price = price;
    }

    public OldPhone() {
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
